<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<script>
    function weixinShareTimeline(title,desc,link,imgUrl){
        WeixinJSBridge.invoke('shareTimeline',{
            "img_url":imgUrl,
            //"img_width":"640",
            //"img_height":"640",
            "link":link,
            "desc": desc,
            "title":title
        });
    }
</script>
<a href="javascript:;" onclick="weixinShareTimeline('123','123','123','123321')">1232131321safasfas</a>
</body>
</html>